#ifndef YCEXTENSIONTYPE_H
#define YCEXTENSIONTYPE_H
#include <functional>
#include <QtCore/qglobal.h>

#if defined(YCEXTENSION_SHARED_LIBRARY)
#if defined(YCEXTENSION_LIBRARY)
#define YCEXTENSIONSHARED_EXPORT Q_DECL_EXPORT
#else
#define YCEXTENSIONSHARED_EXPORT Q_DECL_IMPORT
#endif
#else
#define YCEXTENSIONSHARED_EXPORT
#endif

namespace yc {

using ResolveCallback = std::function<void()>;
using RejectCallback = std::function<void()>;

} // namespace yc

#endif // YCEXTENSIONTYPE_H
